#ifndef __ESP12S_H_
#define __ESP12S_H_

#include "MyApplication.h"

//定义结构体类型
typedef struct
{
    uint8_t TCP_Connect_Status;     //TCP连接状态
    uint16_t TCP_Reconnect_Timer;   //TCP重连定时器
    uint8_t SmartConfig_Flag;       //智能配网标志位

    void (*Init)(void);
    void (*SmartConfig)(void);
    void (*TCP_Connect_Server)(void);
    void (*Transfer_SHT30)(void);
    void (*Receive_Information)(void);
    void (*Error)(void);
    void (*DMA_Receive_Set)(void);
}ESP_12S_t;

/* extern variables-----------------------------------------------------------*/
extern ESP_12S_t ESP_12S;
/* extern function prototypes-------------------------------------------------*/ 

#endif
/********************************************************
  End Of File
********************************************************/
